package com.ourteam.product.requirement.dao;

import net.dao.IDataAccessInterface;


/**
 * Template Name : DAO接口模板
 * Template Version : 1
 * Template Last Modfiy Date : Thu Sep 21 11:14:14 CST 2017
 * Auto Generate Date : 2018-05-03 16:45:10
  * Warning ! This file will be overwrite when regenerate !
  *
 */
public interface IBaseProductGlossaryDAO extends IDataAccessInterface<ProductGlossary, ProductGlossaryDAOQueryBean> {
    /**
        *  Mapped Entity Name
        */
    static final String EntityName = "PRODUCT_GLOSSARY";

    /**
     * Mapped Field ID
    */
    static final String Id = "PRODUCT_GLOSSARY.ID";

    /**
     * Mapped Field CODE
    */
    static final String Code = "PRODUCT_GLOSSARY.CODE";

    /**
     * Mapped Field CONTENT
    */
    static final String Content = "PRODUCT_GLOSSARY.CONTENT";

    /**
     * Mapped Field CREATE_DATE
    */
    static final String CreateDate = "PRODUCT_GLOSSARY.CREATE_DATE";

    /**
     * Mapped Field CREATOR_ID
    */
    static final String CreatorId = "PRODUCT_GLOSSARY.CREATOR_ID";

    /**
     * Mapped Field LAST_EDITOR_ID
    */
    static final String LastEditorId = "PRODUCT_GLOSSARY.LAST_EDITOR_ID";

    /**
     * Mapped Field LAST_EDIT_DATE
    */
    static final String LastEditDate = "PRODUCT_GLOSSARY.LAST_EDIT_DATE";

    /**
     * Mapped Field NAME
    */
    static final String Name = "PRODUCT_GLOSSARY.NAME";

    /**
     * Mapped Field PRODUCT_ID
    */
    static final String ProductId = "PRODUCT_GLOSSARY.PRODUCT_ID";

    /**
     * Mapped Field REMARKS
    */
    static final String Remarks = "PRODUCT_GLOSSARY.REMARKS";

    /**
     * Mapped Field STATUS
    */
    static final String Status = "PRODUCT_GLOSSARY.STATUS";

    /**
     * Mapped Field SINCE_VERSION_ID
    */
    static final String SinceVersionId = "PRODUCT_GLOSSARY.SINCE_VERSION_ID";

    /**
     * Mapped Field TYPE
    */
    static final String Type = "PRODUCT_GLOSSARY.TYPE";

    /**
     * Mapped Attribute lastEditorName
    */
    static final String LastEditorName = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysUserDAO.UserName,
            com.ourteam.system.dao.ISysUserDAO.EntityName + ".", "lastEditorA.");

    /**
     * Mapped Attribute sinceVersion
    */
    static final String SinceVersion = org.apache.commons.lang.StringUtils.replace(com.ourteam.product.requirement.dao.IProductVersionDAO.ProductVersion,
            com.ourteam.product.requirement.dao.IProductVersionDAO.EntityName +
            ".", "productVersionA.");

    /**
     * Mapped Attribute productDefineId
    */
    static final String ProductDefineId = org.apache.commons.lang.StringUtils.replace(com.ourteam.product.requirement.dao.IProductVersionDAO.ProductDefineId,
            com.ourteam.product.requirement.dao.IProductVersionDAO.EntityName +
            ".", "productVersionA.");

    /**
     * Delete Data
     * @param final long id
     * @throws Exception
     */
    void delete(final long id) throws Exception;

    /**
         * Find Data By Primary Key
         * @param  final long id
         * @throws Exception
         */
    ProductGlossary findById(final long id) throws Exception;

    static public interface DataProperty {
        /**
         * Attribute id
         */
        static final String Id = "id";

        /**
         * Attribute code
         */
        static final String Code = "code";

        /**
         * Attribute content
         */
        static final String Content = "content";

        /**
         * Attribute createDate
         */
        static final String CreateDate = "createDate";

        /**
         * Attribute creatorId
         */
        static final String CreatorId = "creatorId";

        /**
         * Attribute lastEditorId
         */
        static final String LastEditorId = "lastEditorId";

        /**
         * Attribute lastEditDate
         */
        static final String LastEditDate = "lastEditDate";

        /**
         * Attribute name
         */
        static final String Name = "name";

        /**
         * Attribute productId
         */
        static final String ProductId = "productId";

        /**
         * Attribute remarks
         */
        static final String Remarks = "remarks";

        /**
         * Attribute status
         */
        static final String Status = "status";

        /**
         * Attribute lastEditorName
         */
        static final String LastEditorName = "lastEditorName";

        /**
         * Attribute sinceVersionId
         */
        static final String SinceVersionId = "sinceVersionId";

        /**
         * Attribute sinceVersion
         */
        static final String SinceVersion = "sinceVersion";

        /**
         * Attribute productDefineId
         */
        static final String ProductDefineId = "productDefineId";

        /**
         * Attribute type
         */
        static final String Type = "type";
    }

    static public interface _DataObjectProperty extends DataProperty {
    }
}
